package edu.fdzc.system.service;

import com.github.pagehelper.PageInfo;
import edu.fdzc.system.entity.Accout;
import edu.fdzc.system.entity.Teacher;

import java.util.List;

public interface TeacherService {
    Teacher selectById(Integer integer);

    Accout login(Accout account);

    void register(Accout account);

    void add(Teacher teacher);

    void updateById(Teacher teacher);

    void deleteById(Integer id);

    void deleteBatch(List<Integer> ids);

    List<Teacher> selectAll(Teacher teacher);

    PageInfo<Teacher> selectPage(Teacher teacher, Integer pageNum, Integer pageSize);

    void updatePassword(Accout account);
}
